package top.fengyulou.xiaofeng.enums;

/**
 * 用户类型
 */
public enum UserTypeEnum {

    ADMIN("A", "管理员"),
    WEB("B", "普通用户");

    private String code;

    private String desc;

    UserTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
